package demo;
//要先导入内部类的类
import demo.OuterClass.InnerClass1;
public class InnerClass4StaticDemo {
    public static void main(String[] args) {
        //外部类对象
        OuterClass outerClass=new OuterClass();
        outerClass.display();

        //内部类对象
        InnerClass1 innerClass1=new InnerClass1();
        innerClass1.showInfo();
    }







}
